Revisions

Date Revision Description Author
1/23/2003 0.9 Initial Draft Kenneth Lewelling
4/4/2003 0.91 Converted document to xml for use with Maven. Kenneth Lewelling

Characteristic Information

Goal in Context: Remove an action mapping definition from a Struts configuration file and have a coresponding "Action" resource removed from the VFS.
Preconditions: Actor's OpenCms user is in the admin role and has read-write permissions for the Struts application.
Successful End Condition: The Struts configuration is saved and the corresponding "Action" resource is removed from the VFS.
Failed End Condition: The Struts configuration file is not saved and no changes to the VFS are made.
Primary Actor: Struts Developer
Trigger: Actor removes an action mapping definition from a Struts configuration file.

Success Scenario

  1. Actor saves the configuration file.
  2. The configuration file is parsed and checked for errors.
  3. The action mapping definition's path property is checked against a list of all "Action" resources belonging to the Struts application.
  4. If an "Action" resource is associated with the Struts application but is not found in the action mapping definition list ,the "Action" resource is removed.

Extensions

1a. The Actor cancles the configuration file changes.
1aa. No changes the the configuration file or the VFS are made.
2a. Errors are found in the configuration file.
2aa. The actor is notified.
2ab. The actor is returned to step 1 and given the opportunity to correct any changes.

Sub-Variations

There are no sub-variations.

Related Information

Super Ordinate Use Case: UC6 Edit Struts Configuration File

Subordinate Use Case:

Open Issues

None.